c591c3112c229edd5f1a4ccdd503f15a49ddc1bf,src/main/java/net/jeremybrooks/suprsetr/workers/RefreshPhotosetWorker.java,RefreshPhotosetWorker,updatePhotoset,#SSPhotoset#,128

Before Change


			PhotosetDAO.updatePhotoset(ssPhotoset);

			// Send tweet if user has requested it AND there are new photos in the set
			if (ssPhotoset.isSendTweet() && oldCount != ssPhotoset.getPhotos()) {
				try {
					String tweet = TwitterHelper.buildTweet(
							ssPhotoset.getTweetTemplate(),

After Change


			PhotosetDAO.updatePhotoset(ssPhotoset);

			// Send tweet if user has requested it AND there are new photos in the set
			if (ssPhotoset.isSendTweet() && (oldCount != (ssPhotoset.getPhotos() + ssPhotoset.getVideos()))) {
				try {
					String tweet = TwitterHelper.buildTweet(
							ssPhotoset.getTweetTemplate(),